package cn.com.xuhx.pojo;

import java.io.Serializable;

public class Equipment implements Serializable {
    private Integer id;

    private String name;

    private Integer departmentid;

    private String tel;

    private Integer age;

    private String sex;

    private static final long serialVersionUID = 1L;

    public Equipment(Integer id, String name, Integer departmentid, String tel, Integer age, String sex) {
        this.id = id;
        this.name = name;
        this.departmentid = departmentid;
        this.tel = tel;
        this.age = age;
        this.sex = sex;
    }

    public Equipment() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }
}